<template>
  <div class="common-layout">
    <el-container>
      <el-header class="header">楼盘管理系统</el-header>
      <el-container>
        <!-- 侧边菜单 -->
        <Menu />
        <!-- 业务页面的路由视图 -->
        <el-main class="Main">
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup lang="ts">
import Menu from './Menu.vue';

</script>
<style lang="scss">
.common-layout {
  height: 100vh;
}

.el-container {
  height: 100vh;
}

.header {
  background-color: #3182bd;
}

.Main {
  background-color: #e4e4d3;

}
</style>
